{!!'<?php'!!}
namespace {{$namesPace}};
use App\DTOS\BaseDTO;
// {{$config['modelShowName']}}
class {{$className}} extends BaseDTO
{
@foreach($config['fields'] as $item)
    // {{$item['title']}}
    private ${{$item['field']}};
@endforeach
@foreach($config['fields'] as $item)
    public function set{{ucfirst(Illuminate\Support\Str::camel($item['field']))}}($value){
        $this->{{$item['field']}} = $value;
    }
    public function get{{ucfirst(Illuminate\Support\Str::camel($item['field']))}}(){
        return $this->{{$item['field']}};
    }
@endforeach
}

